package red.stu.pconstraint.dto;

import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.jetbrains.annotations.NotNull;
import red.stu.pconstraint.pojo.ExecutionLocation;

import java.util.LinkedList;

/**
 * @author yihrmc @stu.red
 * @date 2019/11/15 19:51
 */
@Getter
@Setter
@Accessors(chain = true)
public class ProcessData {

    /**
     * 流程实例ID
     */
    @NotNull
    private String processId;

    /**
     * 命名空间
     */
    @NotNull
    private String namespace;

    /**
     * 执行栈
     */
    @NotNull
    private LinkedList<ExecutionLocation> callStack;

}
